package edu.xust.controller.content;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/bussinesses")
public class BussinessesController {
    @RequestMapping(value = "/{id}",method = RequestMethod.DELETE)
    public String delete(@PathVariable("id") Long id){
        return "content/businessList";
    }

    @RequestMapping(value = "/{id}",method = RequestMethod.PUT)
    public String modify(@PathVariable("id") Long id){
        return "content/businessModify";
    }
}
